#ifndef MODELTEST_H_ 
#define MODELTEST_H_

#include <cppunit/TestFixture.h>
#include <cppunit/extensions/HelperMacros.h>
#include "../common/SketchModel.h"
#include "../common/solvers/SpringSolver.h"
#include "../common/basic/ConstraintData.h"

using namespace std;
using namespace common;
class ModelTest : public CPPUNIT_NS :: TestFixture
{
	CPPUNIT_TEST_SUITE (ModelTest); 
#ifndef TEST_VIEW
	CPPUNIT_TEST (testFunction);
#endif
#ifdef TEST_VIEW
	CPPUNIT_TEST (testFunction2);
	CPPUNIT_TEST (testFunction4);
#endif
	CPPUNIT_TEST_SUITE_END ();

	public:
		void setUp (void);
		void tearDown (void);

	protected:

		void testFunction (void);
		void testFunction2 (void);
		void testFunction4 (void);

	private:
		SketchModel* model;

};

#endif /* MODELTEST_H_ */
